package com.nd.android.u.ui.widge.lift;

import android.graphics.Bitmap;


public class Petal {

	private Bitmap Image;
	private int x;//
	private int y;
	private int startX;
	private int startY;
	private double vertical_v;
	private double horizontal_v;
	private double startTime;
	
	/**
	 * Petal(花瓣实体类构造函数)
	 * @param ImageId 	 图片
	 * @param x			当前x坐标
	 * @param y			当前坐标
	 * @param vertical_v	垂直速度
	 * @param horizontal_v	水平速度
	 * @param startTime		起始时间（用来和时间轴计算差值用以获取便宜量用）
	 */
	public Petal(Bitmap Image,int x,int y,double vertical_v,double horizontal_v,double startTime) {
		this.Image = Image;
		this.x = x;
		this.y = y;
		this.startX = x;
		this.startY = y;
		this.vertical_v = vertical_v;
		this.horizontal_v = horizontal_v;
		this.startTime = startTime;
	}

	public Bitmap getImage() {
		return Image;
	}

	public void setImage(Bitmap image) {
		Image = image;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getStartX() {
		return startX;
	}

	public void setStartX(int startX) {
		this.startX = startX;
	}

	public int getStartY() {
		return startY;
	}

	public void setStartY(int startY) {
		this.startY = startY;
	}

	public double getVertical_v() {
		return vertical_v;
	}

	public void setVertical_v(double vertical_v) {
		this.vertical_v = vertical_v;
	}

	public double getHorizontal_v() {
		return horizontal_v;
	}

	public void setHorizontal_v(double horizontal_v) {
		this.horizontal_v = horizontal_v;
	}

	public double getStartTime() {
		return startTime;
	}

	public void setStartTime(double startTime) {
		this.startTime = startTime;
	}
	
	
	
	
	
	
}
